package models_main

import (
	"fmt"
	"longmen/server/pkg/db/mysql/models"
)

type VipPrice struct {
	Level int     `json:"level" gorm:"primaryKey"` //int(2) NOT NULL DEFAULT '0' COMMENT 'vip等级',
	Price float64 `json:"price"`                   //decimal(10,2) DEFAULT NULL COMMENT 'VIP价格/元',
	Gold  int     `json:"gold"`                    //int(10) DEFAULT NULL COMMENT '赠送金币数量',
}

func (VipPrice) TableName() string {
	return fmt.Sprintf("%svip_price", models.Prefix)
}
